From c9392b836da218d0d32f4133415c0a34604b4352 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Fri, 9 Dec 2005 10:50:49 +0000 Subject: [PATCH] Use new do_without_error function to squelch the errors when closing down an interface. Signed-off-by: Ewan Mellor --- tools/examples/vif-bridge | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/examples/vif-bridge b/tools/examples/vif-bridge index e816c8146a..27e2b23a3a 100755 --- a/tools/examples/vif-bridge +++ b/tools/examples/vif-bridge @@ -61,9 +61,8 @@ case "$command" in ;; offline) - brctl delif "$bridge" "$vif" || - log debug "brctl delif $bridge $vif failed" - ifconfig "$vif" down || log debug "ifconfig $vif down failed" + do_without_error brctl delif "$bridge" "$vif" + do_without_error ifconfig "$vif" down ;; esac -- 2.30.2